<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>学员注册信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    <%
    request.setCharacterEncoding("utf-8");
    String name=request.getParameter("name");
    String password=request.getParameter("pass");
    String [] channels=request.getParameterValues("channel");
     %>
     <div align="center">您输入的注册信息如下：
     <table align="center" border="0">
     <tr>
     <td width="80" height="20">用户名：</td>
     <td><%=name %></td>
     </tr>
      <tr>
     <td width="80" height="20">密码：</td>
     <td><%=password %></td>
     </tr>
     <tr>
     <td>信息来源：</td>
     <td>
     <%
     		if(channels !=null){
     		for(String channel : channels){
     		out.print(channel+">>>>>");
     		}
     		}
      %>
     
     </td>
     </tr>
     </table>
     </div>
  </body>
</html>
